package com.ruoyi.fee.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 缴费记录对象 property_payment
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 缴费ID */
    private Long paymentId;

    /** 缴费编号 */
    @Excel(name = "缴费编号")
    private String paymentNo;

    /** 关联账单 */
    @Excel(name = "关联账单")
    private Long billId;

    /** 缴费人 */
    @Excel(name = "缴费人")
    private Long userId;

    /** 支付方式：WECHAT/ALIPAY/CASH/POS */
    @Excel(name = "支付方式：WECHAT/ALIPAY/CASH/POS")
    private String payType;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payAmount;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 收据编号 */
    @Excel(name = "收据编号")
    private String receiptNo;

    /** 电子收据路径 */
    @Excel(name = "电子收据路径")
    private String receiptUrl;

    @Excel(name = "支付状态")
    private String status;

    @Excel(name = "第三方交易号")
    private String thirdPartyTradeNo;
    public void setPaymentId(Long paymentId) 
    {
        this.paymentId = paymentId;
    }

    public Long getPaymentId() 
    {
        return paymentId;
    }

    public void setPaymentNo(String paymentNo) 
    {
        this.paymentNo = paymentNo;
    }

    public String getPaymentNo() 
    {
        return paymentNo;
    }

    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setPayType(String payType) 
    {
        this.payType = payType;
    }

    public String getPayType() 
    {
        return payType;
    }

    public void setPayAmount(BigDecimal payAmount) 
    {
        this.payAmount = payAmount;
    }

    public BigDecimal getPayAmount() 
    {
        return payAmount;
    }

    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }

    public void setReceiptNo(String receiptNo) 
    {
        this.receiptNo = receiptNo;
    }

    public String getReceiptNo() 
    {
        return receiptNo;
    }

    public void setReceiptUrl(String receiptUrl) 
    {
        this.receiptUrl = receiptUrl;
    }

    public String getReceiptUrl() 
    {
        return receiptUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paymentId", getPaymentId())
            .append("paymentNo", getPaymentNo())
            .append("billId", getBillId())
            .append("userId", getUserId())
            .append("payType", getPayType())
            .append("payAmount", getPayAmount())
            .append("payTime", getPayTime())
            .append("receiptNo", getReceiptNo())
            .append("receiptUrl", getReceiptUrl())
            .toString();
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setThirdPartyTradeNo(String thirdPartyTradeNo) {
        this.thirdPartyTradeNo = thirdPartyTradeNo;
    }

    public String getThirdPartyTradeNo() {
        return thirdPartyTradeNo;
    }
}
